Rynek & Status API
The Rynek & Status API window displays the status of both the market loaded and the API and also shows the market overround.


Rynek & Status API showing last API call response time.

API Info
The number of API calls made in the last second will constantly be changing as new calls are made. In order to avoid Betfair Data Charges your total number of calls made per second must be 20 or below. This includes calls being made via the Betfair website or any other application. For more information about controlling the number of API calls being made by The Toy you should refer to the API Settings Manager section in Control Help.

In order to be alerted to the API running slow or some other connection issue causing calls to take longer to return than they should, the application warns of any call taking longer to respond than the prog bledu API. {NB This value can be set by a menu option.} If the prog bledu API is set to 1,000ms any API call taking longer than 1,000ms will be highlighted red as shown in the image below.


Rynek & Status API window showing an outstanding API Call

The first part of the number shows the total number of API calls that are over the prog bledu API. In the image above there is one call over the prog bledu API. The second part of the number displays how long the call has taken, in the image above the outstanding call has been waiting over 5 seconds and still hasn’t returned.

{NB Due to the way the application sends out API calls, even though a single call is delayed, it does not necessarily mean you will notice any problems in the running of the application. This is because the application sends parallel calls to the API for the same information. For more information see section MPC in the API Settings Manager control help.}

Generally speaking, if the number of overdue calls is 3 or more, you are experiencing connection or API issues.

Market Clock
Depending on the market status the appearance of the clock area will change:

  • Before the market’s scheduled start time - grey background with blue numbers counting down


  • After the market’s scheduled start time but before the event start - grey background with red numbers counting backwards


  • Suspended market


  • In play market when the actual time the market was turned in play is known - green background, black numbers, counting up


  • In play market when the actual time the market was turned in play is unknown - an estimation is made based upon the scheduled start time, green background, black numbers with stars either side, counting up


  • Closed market


  • API refresh stopped


Market Hedged Position
If you have an open position in the market, this shows the hedged profit or loss for the entire market based upon hedging out at current prices. If you have an open {not hedged} position, this will show as a green or red background with white text. Clicking on this will Hedge the entire market. If you have a closed {hedged} position, this will show as either green or red text on a white background.

Opcje
By right clicking on the header of the window the following menu options are displayed:


  • Odswiezanie API - turns refreshing on/off across the whole application, it can also be achieved by double clicking in the Countdown clock area

  • Pokaż % - turns the overround display on/off

  • Pokaz informacje API dla .. - turns on/off the API Info

  • prog bledu API - sets in milliseconds between 500 and 2,000 the threshold for displaying overdue API calls

  • Blad zakaldu - Sets whether bet submission errors are displayed in okno komunikatu or To okno.

  • Zachowaj wiadmosc o bledzie dla… - If Bet Error Display above is set to To okno, this is the number of seconds that the message shall display for.